home *** CD-ROM | disk | FTP | other *** search
/ Mission 3 / Mission 3.zip / Mission 3.iso / zugabe / gcc281 / util_40b.lzh / Changelog
Text File  |  1997-10-20  |  17KB  |  547 lines

  1. previous history lost in the dungeons of RCS!
  2.  
  3. printstk.c, fixstk.c:: ++jrb (relevant to tos gcc only)
  4.     ensure that we are looking at a _stksize in the data section.
  5.     (user defined _stksize). (thanks bernd)
  6.  
  7. fixstk.c:: ++jrb (relevant to tos gcc only)
  8.     if new size did'nt have a trailing K or M calc_newsize was
  9.     terminating the size string one character too soon. (thanks bernd)
  10.  
  11. ld.c:: ++jrb (GNULIB is relevant to tos-gcc only)
  12.     environment variable GNULIB can now specify a list of dirs
  13.     to look for lib files. GNULIB is a ';' or ',' delimited
  14.     list of dirs. in the simplest case it is just one dir
  15.     as it was previously. (thanks bernd)
  16.     (gulam users: be sure to quote ';' s)
  17.     Also note: gcc (tos) will look for the startfile 'crt0.o' *only*
  18.     on the first directory specified in GNULIB.
  19.     gcc-cpp.ttp now will look for include files in each of the dirs
  20.     specified in GNULIB, if it does not find the environment var GNUINC
  21.     first (which can be a list of dirs too).
  22.  
  23. makefile.st:: ++jrb
  24.     target names adjusted.
  25.  
  26. ld.c, sym-ld.c:: ++jrb
  27.     for sparc based cross-linker, was missing a
  28.     !defined(CROSSATARI) around the reloc defns. thanks lars!
  29.  
  30. ld.c, sym-ld.c, ar.c:: ++jrb
  31.     adjusted for +ve errno's
  32.  
  33. ld.c :: andreas schwab
  34.     handle the case when there are no reloc bytes in the program
  35.     (impossible for C programs, but in a handwritten asm program
  36.     its possible)
  37.  
  38. ld.c, sym-ld.c:: ++jrb
  39.     exit code from main was getting lost. put an explicit exit() there.
  40.     thanks allan for pointing this out.
  41.  
  42. ld.c:: ++jrb
  43.     #ifdef'ed out coptxtrel aand copdatrel that are not used by atari
  44.  
  45. Makefile.st, Makefile.minix:: ++jrb
  46.     add LDFLAGS
  47.  
  48. cnm.c:: ++jrb
  49.     cast was missing.
  50.  
  51. size68.c:: ++jrb
  52.     fixed it up for WORD_ALIGNED (32 bit alignment) machines.
  53.  
  54. nm.c:: ++jrb
  55.     fixed up alloca stuff for sparc cross-nm
  56.  
  57. Makefile.cross:: ++jrb
  58.     make for size68 adjusted so that .c.o rule applies and CFLAGS
  59.     are picked up (for -DWORD_ALIGNED).
  60.  
  61. ld.c:: ++jrb
  62.     look up env var GNULIB for minix (native) too. GNULIB can be
  63.     a ',' or ';' seperated list of dirs to search for libs (-llib)
  64.  
  65. ld.c:: ++jrb
  66.     fixed for -DWORD_ALIGNED for minix cross-dev
  67.     (cross-sparc-minix verified). In Makefile.minix 
  68.     # define WORD_ALIGNED if on a 32 bit alignment host.
  69.  
  70. Makefile*, ld.c, cnm.c, nm.c :: ++jrb
  71.     minor adjustments for sparc (WORD_ALIGNED).
  72.  
  73. gnu-out.h:: ++jrb
  74.     replaced with newer one from gnu (from gas-1.37)
  75.  
  76. ld.c:: ++jrb
  77.     minor adjustment for new gnu-out.h
  78.  
  79. ld.c:: ++jrb
  80.     write_atari_sym(): distinguish between local and global sym
  81.     thanks Michal.
  82.  
  83. nm.c::++jrb
  84.     fixed up headers, and new magic field in gnu-out
  85.  
  86. ar.c:: ++jrb
  87.     fixed up rename bug
  88.  
  89. nm.c, size.c, (sym-ld just  for completeness):: jens
  90.     complete sync with new gnu-out
  91.  
  92. printstk.c, fixstk.c: michal
  93.     use _initial_stack when it it defined instead of _stksize
  94.     thanks michal.
  95.  
  96. nm.c, ar.c:: Frank Ridderbusch
  97.     changes to correctly read stuff on WORD_ALIGNED machines
  98.     support for USG machines
  99.  
  100.  
  101. cnm.c:: frank, michal, jrb
  102.     put in changes for gst sym.
  103.     put the WORD_ALIGNED code back.
  104.     correct minor bugs with mem free
  105.     make it fopen "rb" for atari
  106.  
  107.     PLEASE -- when you make changes, dont strip out WORD_ALIGNED
  108.     code. it may not be important on the machine you use, but
  109.     it is imporant on other machines.
  110.  
  111. ld.c:: frank
  112.     out in gst symbol support. ld -G will activate it.
  113.     (note: ld -g does'nt)
  114.     ld -v will now give you a version.
  115.     make -v and -G valid for cross ld too
  116.  
  117.     thanks to frank and michal for their diffs.
  118.  
  119. size68.c:: ++jrb
  120.     return valid status from main()
  121.  
  122. ld.c:: ++jrb
  123.     ok, i got enough bitching from people about the disk i/o in ld.
  124.     changed it to use buffererd i/o. you can tune up the buffer
  125.     sizes for your configuration. look for the
  126.     setvbuf(, , , size) calls.
  127.  
  128. strip.c:: michal
  129.     new coding from michal. more options, and gst syms compatible.
  130.     Thanks!
  131.  
  132.       usage: strip [-g] [-k] [-l filenames] files ...
  133.     -g    keep all global symbols
  134.      -k    keep _stksize symbol, so stack size can be adjusted
  135.          even for nearly-stripped gcc produced executables
  136.      -l nms    keep all symbols listed in a file 'nms'
  137.  
  138.     fixed up slightly for WORD_ALIGNED and unix cc
  139.  
  140. strip.c:: andreas
  141.     try to rename the temp file, before trying to copy. if rename
  142.     fails, just copy. (the renaming will succeed if the tmp
  143.     is on the same device. I think).
  144.  
  145.  
  146. size68.c:: andreas
  147.     i had the message backwards.
  148.  
  149. ld.c:: andreas
  150.     cleanup. Thanks andreas
  151.     andreas: i did not change the default to fastload. i think in
  152.     this case (to borrow pres. bush's favorite word) its PRUDENT to be
  153.     conservative :-)
  154.  
  155. ld.c:: michal
  156.     cleanup lots of int/pointer warnings. Thanks mical.
  157.  
  158. ar.c:: frank
  159.     finish WORD_ALIGNED ar diffs.
  160.  
  161. ld.c:: frank
  162.     make a cross-ld use env var GNULIB (like the tos verison) instead
  163.     of having a hard coded path.
  164.  
  165. ld.c, sym-ld.c, gnu-out.old...:: ++jrb
  166.     hack up ld to fake out debugger syms when producing tos executables
  167.     you should definitely not get any bogon alerts now, when linking
  168.     with a '-g' (note: NOT -gg) compiled files.
  169.     hack up others to work with -g.
  170.     gcc -g should work now, and gdb should work with -g compiled
  171.     programs.
  172.  
  173. ld.c, sym-ld.c: ++jrb
  174.     fix initialization of xtra_ref.n_type
  175.  
  176. sym-ld.c:: ++jrb
  177.     shit i have to fix this... fix up WORD_ALIGNED problems (just enough
  178.     to get by!). merge all the ld changes, except protos and buffered i/o
  179.     changes. It works now on a sparc!
  180.     gcc -g is working well now.
  181.     let sym-ld use gnu-out.old
  182.  
  183. gnu-out.h, stab.h:: ++jrb
  184.     merge in minor changes from binutils 1.9. these changes should
  185.     make no difference.
  186.  
  187. ----------------------------- Patchlevel 18 ---------------------------------
  188.  
  189. ld.c:: david boyce (uunet!sifvs3.SINet.SLB.COM!boyce)
  190.     changes for g++
  191.       -- handle set vectors (g++ does constructors this way)
  192.       -- added code for N_INDR too (though its not used)
  193.  
  194.     yeah, we finally have a g++ that is not a total kludge, and works
  195.     ALL the time, and not some of the time -- great work david.
  196.  
  197. *******************  RENAME PatchLevel.h to PatchLev.h ******************
  198.  
  199. ----------------------------- Patchlevel 19 ---------------------------------
  200.  
  201. ld.c, sym-ld.c:: ++jrb
  202.     include PatchLevel in version printout.
  203.  
  204. ld.c:: ++jrb
  205.     merge the changes above.
  206.     more hacks to get set_vectors working.
  207.     dont pass nlist->string when calling write_atari_sym() for
  208.     a set vector. just pass it a dummy string, and write_atari_sym()
  209.     will fake it in any case. gdb will gobble it up, no problem.
  210.     i dont know about other debuggers though.
  211.  
  212. ----------------------------- Patchlevel 20 ---------------------------------
  213.  
  214. ld.c:: Kurt Olsen (uunet!cache.usu.edu!kurto)
  215.     Changes for cross-ld on a byte-swapped host. cross-ld will now work
  216.     correctly when hosted on a machine that has the opposite byte sex
  217.     than the 68K. ie: cross-ld on a little endian host (like the decStations 3100/vax,
  218.     intel 808* series etc), cross linking for the 68k a big endian machine.
  219.  
  220.     On a little endian host make sure you have -DBYTE_SWAP in CFLAGS or on
  221.     the cc command line.
  222.  
  223. sym-ld.c:: ++jrb
  224.     merge in set vector changes. G++ may just work with gdb :-) :-)
  225.  
  226.     i will let someone else do the BYTE_SWAP changes. hint hint :-)
  227.  
  228. sym-ld.c, ld.c:: ++jrb
  229.     fix up symbol that is output for set_vectors. the comment in ld.c
  230.     that indicated that the storage for s set_symbol was not trashed
  231.     was completely wrong, and hence misleading.
  232.  
  233. ----------------------------- Patchlevel 21 ---------------------------------
  234.  
  235. sym-ld.c, ld.c:: david
  236.     demangle g++ names is -lg++
  237.  
  238. cplusdem.c:: david
  239.     new file, copy of cplus-dem.c from the g++-1.39.0 distribution.
  240.     cp ../gcc-1.39/cplus-dem.c cplusdem.c  : the demangler source
  241.  
  242. nm.o:: david
  243.     add the demangler:
  244.     add a new option `-x'. if -x is specified, DO NOT try to demangle
  245.     names. by default try to demangle them. This is fine because
  246.     the demangle will leave ordinary names alone.
  247.  
  248. --------------- ooops, some history got lost here, sigh! ----------------
  249.  
  250. gnu-out.old: ++jrb
  251.     remove this file, no longer needed.
  252.  
  253. sym-ld.c:: ++jrb
  254.     use gnu-out.h instead of gnu-out.old.
  255.  
  256. ----------------------------- Patchlevel 24 ---------------------------------
  257.  
  258. cplusdem.c:: ++jrb
  259.     update C++ demangler for gcc 2.0
  260.  
  261. ----------------------------- Patchlevel 25 ---------------------------------
  262.  
  263. ldd.c, sym-ld.c:: ++jrb
  264.     hook in the demangler into write_map (-M) too. the output of
  265.     gcc-ld -M -t looks much nicer now when dealing with -lang-c++.
  266.  
  267.     
  268.     dont try to print set elements as local symbols (when -M). guess
  269.     who was seeing bombs!
  270.  
  271. nm.c:: ++jrb
  272.     free demangled storage.
  273.  
  274. ----------------------------- Patchlevel 26 ---------------------------------
  275.  
  276. ld.c:: Michal
  277.     clean up compiler noise.
  278.  
  279. cnm.c:: andreas
  280.         adjust proto for ckfread; correctly count symbols if
  281.     WORD_ALIGNED
  282.  
  283. cplusdem.c:: andreas
  284.         some names couldn't be demangled (like template
  285.     functions, static members)
  286.  
  287. ld.c:: andreas
  288.         adjust protos for mywrite, xmalloc, xrealloc;
  289.     initialize gst_symboltable and gst_symbols if CROSSATARI
  290.  
  291. strip.c:: andreas
  292.         preserve long symbols, avoid warnings about cast
  293.  
  294. sym-ld.c:: andreas
  295.          write only the symbols since this is all what gdb needs
  296.  
  297. ----------------------------- Patchlevel 27 ---------------------------------
  298.  
  299. fixstk, printstk.c:: ++jrb
  300.     fix them up for word aligned machines. ie ifdef WORD_ALIGNED
  301.  
  302. Makefile.cross, Makefile.hp:: ++jrb
  303.     add target for fixstk/printstk to the cross-makefiles.
  304.  
  305. ----------------------------- Patchlevel 28 ---------------------------------
  306.  
  307. cplusdem.c:: michal
  308.     cleanup, plus in one routine was'nt returning the correct value.
  309.  
  310. sym-ld.c, ld.c:: ++jrb
  311.     always link in the demangler (earlier it only kicked it in
  312.     when -lg++ was seen on the command line). the demangler will
  313.     corectly not demangle C and other unmangled symbols.
  314.  
  315. ----------------------------- Patchlevel 29 ---------------------------------
  316.  
  317. ar.c:: jean-marc jmz@obsbea.dnet.nasa.gov
  318.     diff for BYTE_SWAP (for gcc-ar cross on a little endian host, now
  319.     gcc-ar and gcc-ld are all set for cross work on a litle endian machine. 
  320.     i suppose we should do rest of the utils too).
  321.  
  322. ----------------------------- Patchlevel 30 ---------------------------------
  323.  
  324. ld.c:: ++jrb
  325.     -- sync up with some changes from gnu-binutils v 1.92, especially
  326.        the common allocation stuff.
  327.     -- make fatal() varargs
  328.     -- detect undefined globals not referenced from a text or data segment
  329.     (thanks to Ulrich Kuehn who sent and example that silently failed).
  330.  
  331. sym-ld.c:: ++jrb
  332.     fold in relevant changes from above.
  333.  
  334. ----------------------------- Patchlevel 30.5 -------------------------------
  335.  
  336. strip.c:: alexander lehmann (alexlehm@iti.informatik.th-darmstadt.de)
  337.     I rewrote strip to strip trailing garbage from executables. The
  338.     debug information of TurboC/PureC adds such stuff for example.
  339.     While at this I rewrote the code to support BYTE_SWAPed machines.
  340.  
  341. ld.c/sym-ld.c/st-out.h, cnmc:: ++jrb
  342.     put out file symbols ala aln. julians nm should do better now.
  343.  
  344. ----------------------------- Patchlevel 31 --------------------------------
  345.  
  346. sym-ld.c:: michal
  347.     was`nt compiling anymore.
  348.  
  349. ld.c, sym-ld.c:: michal
  350.     When searching through a library a function symdef_library was
  351.     repeatedly allocating and freeing (at the same address)
  352.     subentry->strings and subentry (line 2962) and later it was executing
  353.         free (subentry->strings);
  354.                 subentry->strings = 0;
  355.     My NeXT was patient enough to survive such treatment for a few
  356.     iterations but after a while it was dropping a core from malloc().
  357.     Exactly the same applies to sym-ld. I do not know why this problem
  358.  
  359. ld.c :: howard
  360.     Incorporate baserel patches.
  361.  
  362. toglclr.c:: Frank Ridderbusch
  363.     rewrote toglclr for all flags: usage
  364.         toglclr [options] file file ...
  365.  
  366.     options: -fload = toggle `fast load'
  367.              -frun  = toggle `load program into fast ram'
  368.                  -fram  = toggle `malloc from fast ram'
  369.  
  370. toglclr.c:: ++jrb
  371.     clean it up for cross-environment, add support for
  372.         WORD_ALIGNED
  373.  
  374. Makefile.cross, Makefile.st:: ++jrb
  375.     add target for toglclr
  376.  
  377. cnm.c:: ++jrb
  378.     cleanup for hpux
  379. ----------------------------- Patchlevel 32 --------------------------------
  380.  
  381. ld.c:: howard
  382.     more fixes for baserel
  383.  
  384. ld.c:: ++jrb
  385.     fixed BYTE_SWAP problem.
  386.  
  387. ld.c:: ++jrb
  388.     more BYTE_SWAP fixes in the relocation stuff
  389.  
  390. toglclr.c: Thomas Schulze, ts@uni-paderborn.de
  391.     add -fshare flag for sharex text (mint 0.96 and up).
  392.  
  393. ----------------------------- Patchlevel 33 --------------------------------
  394.  
  395.     REMOVE the following files from this (utils) directory
  396.     they have been moved to the include directory
  397.  
  398.     rm gnu-ar.h
  399.     rm gnu-out.h
  400.     rm stab.def
  401.     rm stab.h
  402.  
  403.  
  404.  
  405. cnm.c: andreas
  406.     New flag -u, print symbols unsorted
  407.     Cleanups
  408.  
  409. cplusdem.c:: andreas
  410.     Cleanups to sync up with Gnu
  411.  
  412. stab.def, stab.h:: andreas
  413.     Cleanups to sync up with Gnu *********** NOTE moved to <include>
  414.  
  415. printstk.c  fixstk.c: andreas
  416.     Allow more than one file name argument
  417.     
  418. strip.c:: andreas
  419.     Preserve the file mode and long symbols,
  420.      keep __stksize by default, new flag -a to strip
  421.      really all symbols
  422.  
  423.     ****************************
  424.     * NOTE: new flag -a        *
  425.     ****************************
  426.  
  427. ld.c sym-ld.c:
  428.  
  429.     - Many cleanups
  430.     - All large stack requirements removed
  431.     [ allocas turned into xmalloc/frees should be much more
  432.       MiNT freindlier!]
  433.     - defaults changed! ************** NOTE *****************
  434.     default prgflags == 7 now    /* fastload and TT ram */
  435.     default symbol table type == gst_format symbols
  436.  
  437.     - new options    ******************* NEW OPTIONS**************
  438.      -f load_flags
  439.      -h heap size
  440.  
  441. nm.c:: andreas
  442.     - turn alloca()s into xmalloc()s
  443.  
  444. printstk.c:: andreas
  445.     cleanup
  446.     make it handle long symbols properly
  447.  
  448. size68.c:: andreas
  449.     cleanup
  450.  
  451. fixstk.c:: ++jrb
  452.     was missing *argv in usage message
  453.  
  454.  
  455. stab.def, stab.h:: ++jrb
  456.     removed from util subdir. use the one in the include
  457.     directory. the one in include has been brought upto date with
  458.     all the cygnus changes.
  459.  
  460. ----------------------------- Patchlevel 35 --------------------------------
  461.  
  462. Makefile.cross:: michal
  463.     added important note for NeXT users.
  464.  
  465.     ************* NeXT users take note *****************
  466.  
  467.  
  468. ar.c nm.c size.c size68.c:: michal
  469.     There were also various instances of 
  470.     "#include /usr/include/something.h"
  471.     I changed them to <something.h> and rely on include path.
  472.  
  473. size68.c:: michal
  474.     sync up with various recent changes to util.
  475.  
  476. toglclr.c:: frank
  477.     Added code to handle the memory protection bits under MultiTOS.
  478.     Changed output format slightly.
  479.  
  480. size68.c:: frank
  481.     change output format to include any MiNT memory prots.
  482.     merged with michals chenages from above. ++jrb
  483.  
  484. fixstk.c, printstk.c:: ++jrb
  485.     cleanup
  486.  
  487. ----------------------------- Patchlevel 36 --------------------------------
  488.  
  489. ld.c, sym-ld.c:: ++jrb
  490.     do chmod() on output file.
  491.  
  492. ----------------------------- Patchlevel 37 --------------------------------
  493.  
  494. ld.c:: Jean-Marc Zucconi (jmz@cabri.obs-besancon.fr )
  495.     on a little endian machine, the output symbol type was'nt being byte
  496.     byte swapped.
  497.  
  498. printstk.c, fixstk.c:: Jean-Marc Zucconi (jmz@cabri.obs-besancon.fr )
  499.     fix up for little endian machines. ( BYTE_SWAP #defined)
  500.  
  501. ld.c:: Thomas  FFH002@VM.HRZ.UNI-ESSEN.DE
  502.     fixes for BYTE_SWAP (ie little endian machines for N_SETV (for
  503.     global ctor/dtor table) to ld.c. Thanks!
  504.  
  505. nm.c:: Thomas  FFH002@VM.HRZ.UNI-ESSEN.DE
  506.     fixes for BYTE_SWAP (little endian machines). thanks!
  507.  
  508.     486/freeBSD now reported to work great as a cross-compile
  509.     platform for the atari-gcc/g++. (for 486/freeBSD use
  510.     -DBYTE_SWAP while compiling utils. Dont know if
  511.     -DWORD_ALIGNED is needed)
  512.  
  513. ----------------------------- Patchlevel 38 --------------------------------
  514.  
  515. ld.c, sym-ld.c:: Christian Felsch (felsch@tu-harburg.d400.de)
  516.     Fix up for a new lib name scheme:
  517.     If $GNULIB is set, ld/sym-ld assume, that the compiler is
  518.     installed on TOS file system and they use TOS lib names (xxx.olb),
  519.     otherwise they use UNIX names (libxxx.a).
  520.     gcc 2.7.2 set option -n, when using -mbaserel. Then the linker load
  521.     bxxx.olb instead of xxx.olb
  522.     gcc 2.7.2 set new option -H, when using -mshort. Then the linker append
  523.     '16' to the lib name (xxx.olb -> xxx16.olb)
  524.  
  525. ----------------------------- Patchlevel 39 --------------------------------
  526.  
  527. ld.c, sym-ld:: Christian Felsch (felsch@tu-harburg.d400.de)
  528.     Adapted for gcc 2.7.2.3. 
  529.     The correct lib names (b for mbaserel, 16 for short ints) are now 
  530.     generated by gcc!
  531.     Option -H removed.
  532.  
  533. version.c, *.c:: Christian Felsch (felsch@tu-harburg.d400.de)
  534.     Add option '-v' to all programs.
  535.  
  536. strings.c:: Christian Felsch (felsch@tu-harburg.d400.de)
  537.     New program.
  538.  
  539. sym-ld.c:: Christian Felsch (felsch@tu-harburg.d400.de)
  540.     Default output file named a.sym instead of a.out.
  541.  
  542. ld.c, sym-ld.c:: Christian Felsch (felsch@tu-harburg.d400.de)
  543.     Default lib paths changed from \\gnu.. to UNIX-defaults (/lib,
  544.     /usr/lib, /usr/local/lib)
  545.  
  546. ----------------------------- Patchlevel 40 --------------------------------
  547.